projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebe2b6f
)
Respect structure of Tramp archive file names
author
Michael Albinus
<michael.albinus@gmx.de>
Wed, 19 Jan 2022 08:07:49 +0000
(09:07 +0100)
committer
Michael Albinus
<michael.albinus@gmx.de>
Wed, 19 Jan 2022 08:07:49 +0000
(09:07 +0100)
* lisp/net/tramp.el (tramp-make-tramp-file-name):
Respect structure of archive file names.
lisp/net/tramp.el
patch
|
blob
|
history
diff --git
a/lisp/net/tramp.el
b/lisp/net/tramp.el
index 3c6f4974d7d64659ba069ec2c8662fe5e786ed88..4c6a0bd96457565ab43428e03c3464853b07a7bb 100644
(file)
--- a/
lisp/net/tramp.el
+++ b/
lisp/net/tramp.el
@@
-1735,7
+1735,10
@@
the form (METHOD USER DOMAIN HOST PORT LOCALNAME &optional HOP)."
(when hop
(setq hop nil)
;; Assure that the hops are in `tramp-default-proxies-alist'.
- (tramp-add-hops (car args))))
+ ;; In tramp-archive.el, the slot `hop' is used for the archive
+ ;; file name.
+ (unless (string-equal method "archive")
+ (tramp-add-hops (car args)))))
(t (setq method (nth 0 args)
user (nth 1 args)